<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('level/index')}">等级列表</a></li>
			<li><a href="{:url('level/add')}">新增等级</a></li>
			<li><a href="{:url('level/director')}">董事设置</a></li>
		</ul>
		<br>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">等级</th>
					<th>名称</th>
					<th>直推人数</th>
					<th>直推资金</th>
					<th>分佣</th>
					<th width="140">{:lang('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="list" item="vo">
				<tr>
					<td>{$vo.level}</td>
					<td>{$vo.name}</td>
					<td>{$vo.num}</td>
					<td>{$vo.total}</td>
					<td>{$vo.share}</td>
					<td>
						<a class="btn btn-xs btn-primary" href="{:url('level/edit',array('id'=>$vo['id']))}">编辑</a>
						<a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('level/delete',array('id'=>$vo['id']))}">删除</a>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>